

import vue from "vue"
import vuex from "vuex"
import ActionHelper from "./ActionHelper"

vue.use(vuex)

let store = new vuex.Store({
    state:{
        aHelper:new ActionHelper(),
        filterCateId:-1,
        isShow:false,  //控制显示编辑框
        transMemo:null
    },
    mutations:{
        showEditMemo(state,editMemo){
            state.transMemo = editMemo
            state.isShow = true
        }
    }
})


export default store


